Append a newline to error messages, so that they are parsed by XendCheckpoint.py
authoremellor@ewan <emellor@ewan>
Sun, 9 Oct 2005 10:53:34 +0000 (11:53 +0100)
committeremellor@ewan <emellor@ewan>
Sun, 9 Oct 2005 10:53:34 +0000 (11:53 +0100)
correctly.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/libxc/xc_linux_save.c

index 4720e4076abf93d7d064d5dbc8ba7ff26abeeda0..ba3aff36a62cd42bd926b5f7d9388556e058bb17 100644 (file)
@@ -35,7 +35,7 @@
 #define DEBUG 0
 
 #if 1
-#define ERR(_f, _a...) do { fprintf(stderr, _f , ## _a); fflush(stderr); } while (0)
+#define ERR(_f, _a...) do { fprintf(stderr, _f "\n" , ## _a); fflush(stderr); } while (0)
 #else
 #define ERR(_f, _a...) ((void)0)
 #endif